var __hack_css_str_ = '#btnImport{position:absolute;right:-60px;top:0}#xxxSearch>.inline:last-child{line-height:28px}#xxxSearch>.inline:last-child .tree-container{display:inline-block!important;position:absolute!important;height:28px;border-radius:5px;border-left-color:#ddd;z-index:1}#xxxSearch>.inline:last-child .tree-container::before{content:attr(values);color:#858585;position:absolute;top:0;left:8px;height:28px;width:176px;background-color:#fff;z-index:4}#xxxSearch>.inline:hover .tree-container{height:auto}#xxxSearch>.inline:hover .tree-container::before{display:none}'
	$('form').map(function(index, item){
		var id = $(item).attr('id')
		if(/.+Search/.test(id)){
			__hack_css_str_ = __hack_css_str_.replace(/xxxSearch/g, id)
			$("<style></style>").text(__hack_css_str_).appendTo($("head"))
			$(item).on('mouseleave', '.tree-container',function(e,v){
				var selected = []
				$(e.currentTarget).find('.tree-selected .tree-label').map(function(index, item){
					selected.push(item.innerHTML)
				})
				$(e.currentTarget).attr('values', selected.join(','))
			})
		}
	})